package cn.itsource.hrm.service;

import cn.itsource.hrm.domain.Course;
import cn.itsource.hrm.dto.CourseDto;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xqf
 * @since 2021-01-14
 */
public interface ICourseService extends IService<Course> {

    void insert(CourseDto courseDto);
    //课程上线
    void onLineCourse(Long id);
    //课程下线
    void offLineCourse(Long id);
}
